class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|

      t.string :username
      t.string :password
      t.string :level
      t.string :ip
      t.date :starttime
      t.date :deadline
      t.string :state
      t.timestamps
    end
  end

  def self.down
    drop_table :users
  end
end
